package com.zzl.alligator.common.constant;

/**
 * TODO
 *
 * @author zhouziliang
 * @since 2020/7/23
 */
public class VoteConstants {

    /**
     * 主题状态（0生效 1废弃 2未开始 3进行中 4结束）
     */
    public static final String STATUS_SUBJECT_EFFECTIVE = "0";

    public static final String STATUS_SUBJECT_DISCARD = "1";

    public static final String STATUS_SUBJECT_NOTSTART = "2";

    public static final String STATUS_SUBJECT_STARTED = "3";

    public static final String STATUS_SUBJECT_END = "4";

    /**
     * 是否随机排序（0随机排序 1非随机排序）
     */
    public static final String RANDOM_ORDER_YES = "Y";

    public static final String RANDOM_ORDER_NO = "N";

    /**
     * 是否必填
     */
    public static final String REQUIRED_YES = "Y";

    public static final String REQUIRED_NO = "N";
    /**
     * 是否匿名（0匿名 1实名）
     */
    public static final String ANONYMOUS_YES = "Y";
    public static final String ANONYMOUS_NO = "N";

    /**
     * 选项类型
     */
    public static final String OPTION_TYPE_OPTION = "0";
    public static final String OPTION_TYPE_SCORE = "1";

    /**
     * '是否默认选项' 0 是 1 否
     */
    public static final String DEFAULT_OPTION_YES = "Y";
    public static final String DEFAULT_OPTION_NO = "N";

    /**
     * 投票状态 0 未投票 1 已投票
     */
    public static final String VOTE_STATUS_NOT_START = "0";
    public static final String VOTE_STATUS_OVER = "1";
}
